import request from "./http";

//获取分类列表
function getClassification(pageNum,pageSize) {
    const url =`/api/api/cms/category/open/list`;
    const params = new URLSearchParams();
    params.append("pageNum",pageNum);
    params.append("pageSize",pageSize);
    return request.post(url,params)

}
function  getmusic() {
    const url = `/api/music`;
    console.log(url)
    return request.get(url);
}
export {
    getClassification,
    getmusic
}